const UPLOAD_PATH = 'static/upload';

module.exports = {
	CODE_ERROR: -1,
	CODE_SUCCESS: 0,
	debug: false,
	PWD_SALT: 'admin_imooc_node',
	PRIVATE_KEY: 'admin_imooc_node_test_youbaobao_xyz',
	JWT_EXPIRED: 60 * 60, // token失效时间
	CODE_TOKEN_EXPIRED: -2,
	UPLOAD_PATH,
	UPLOAD_IMG_SIZE:1024*1000,
	UPLOAD_IMG_TYPES:['jpg', 'jpeg', 'png', 'gif']
}
